package com.lfnyxy.dao.org;


import com.lfnyxy.entity.org.MenuDetailEntity;
import com.lfnyxy.query.org.MenuDetailQuery;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface MenuDetailDao {
    int CreateItem(MenuDetailEntity entity);

    int UpdateItem(MenuDetailEntity entity);

    List<MenuDetailEntity> QueryPageList(MenuDetailQuery query);

    List<MenuDetailEntity> QueryAll();

    int QueryPageListCount(MenuDetailQuery query);

    int CheckIsExist(MenuDetailEntity entity);

    MenuDetailEntity QueryItem(int Id);

    int DeleteItem(int Id);
}